package com.tansuo365.test1.service.otherservice;

import com.tansuo365.test1.bean.otherbean.HuiShouDetails;
import com.tansuo365.test1.bean.otherbean.HuiShouZhixing;
import com.tansuo365.test1.bean.otherbean.HuiShouZong;

import java.util.List;

/**
 * 回收执行 查看回收状况 逻辑与申购执行相一致
 */
public interface HuishouZhixingService {

    int deleteByPrimaryKey(Integer id);

    int insertSelective(HuiShouZhixing huiShouZhixing);

    int saveHuiShouBindChuku(List<HuiShouDetails> huiShouDetailsList, HuiShouZong huiShouZong);

    HuiShouZhixing selectByPrimaryKey(Integer id);

    List<HuiShouZhixing> listHuiShouZhixingSelective(HuiShouZhixing huiShouZhixing);

    int updateByPrimaryKeySelective(HuiShouZhixing huiShouZhixing);

    int deleteByIdArr(Integer[] ids);
    //根据总id zongzhangid  删除回收zhixing中的到货数据(update)
    int deleteTheHuishouFromIdArr(Integer[] ids);

    int deleteHuishouBindChuku(Integer[] ids);

    int deleteByDuiyingChukudans(List<String> duiyingchukudanhaos);
}
